home *** CD-ROM | disk | FTP | other *** search
/ MacHome 2001 May / MacHome CD (May 2001).iso / mac / Stuff / Software / Home / Language Assistant 2.1 / Translators / intertran.trn < prev    next >
Text File  |  2001-01-21  |  4KB  |  122 lines

  1. # A translator definition file for use with Language Assistant
  2. # General form: varname=value
  3. # Extended form: varname=name:value
  4. #
  5. # General form is used in most cases; extended form is used only when the 
  6. # variable contains two parts, an identifier or name, and an actual value.
  7. # The presence of whitespace before and after the equals sign will not
  8. # affect anything.
  9. # Arrays are notated with []s after their names; these special variables 
  10. # may be set as many times as necessary to append more values to them.
  11. # Extended form arrays are notated with [][]s after their names.
  12. #
  13. # And, as you have probably noticed by now, lines that begin with a '#'
  14. # sign are treated as comments and will not be evaluated.
  15. # The following constants are available for use throughout this file:
  16. # $la_language1: the name (or identifier) of the first language menu
  17. # $la_language2: the name (or identifier) of the second language menu
  18. # $la_text: the text typed into the translation box
  19. #
  20. # Note: only one language menu will appear if the language_type is set to
  21. # 'single'.  In this case, you should use $la_language1 to retrive the 
  22. # language.
  23.  
  24. # cookie[][]: the names of any cookies that should be retrieved
  25. cookie=INTERTRAN_ID:
  26.  
  27. # cookie_host: the domain name of the host to retrieve cookies from
  28. cookie_host=www.tranexp.com
  29.  
  30. # cookie_port: the port of the host to retrieve cookies from
  31. cookie_port=2000
  32.  
  33. # cookie_script: the name of the script or file to retrive cookies from
  34. cookie_script=/InterTran?
  35.  
  36. # data_start[]: a unique string that directly precedes the translated next
  37. data_start=Translated text:<BR><TEXTAREA NAME=none COLS=70 ROWS=5>
  38.  
  39. # data_end[]: a unique string that comes directly after the translated next
  40. data_end=</TEXTAREA>
  41.  
  42. # add more possible data_starts and data_ends
  43. data_start=<B>Translated text</B>:<BR><HR>
  44. data_end=<BR><HR>
  45.  
  46. # the internet text encoding name to use with the MacOS Text Encoding Converter
  47. encoding=iso-8859-1
  48.  
  49. # engine_name: the name of the translator
  50. engine_name=InterTran
  51.  
  52. # form_input[][]: an array of html form inputs to send to the translation server
  53. form_input=url:http%3A%2F%2Fwww.tranexp.com%2Fwin%2Fleft.html
  54.  
  55. # add more form_inputs
  56. form_input=topframe:yes
  57. form_input=type:text
  58. form_input=text:$la_text
  59. form_input=from:$la_language1
  60. form_input=to:$la_language2
  61.  
  62. # form_type: html form type; always either 'get' or 'post'
  63. form_type=post
  64.  
  65. # get_cookies: should we query cookie_host for cookies during the 
  66. # "Starting up..." stage?
  67. get_cookies=true
  68.  
  69. # language[][]: the different languages and their "identifiers"
  70. language=pob:Brazilian Portuguese
  71.  
  72. # add more languages
  73. #language=bul:Bulgarian (CP 1251)
  74. #language=cro:Croatian (CP 1250)
  75. #language=che:Czech (CP 1250)
  76. language=dan:Danish
  77. language=dut:Dutch
  78. language=eng:English
  79. language=spe:European Spanish
  80. language=fin:Finnish
  81. language=fre:French
  82. language=ger:German
  83. language=grk:Greek
  84. #language=hun:Hungarian (CP 1250)
  85. language=ice:Icelandic
  86. language=ita:Italian
  87. #language=jpn:Japanese (Shift JIS)
  88. language=spl:Latin American Spanish
  89. language=nor:Norwegian
  90. #language=pol:Polish (ISO 8859-2)
  91. language=poe:Portuguese
  92. #language=rom:Romanian (CP 1250)
  93. #language=rus:Russian (CP 1251)
  94. #language=sel:Serbian (CP 1250)
  95. #language=slo:Slovenian (CP 1250)
  96. language=spa:Spanish
  97. language=swe:Swedish
  98. language=wel:Welsh
  99.  
  100. # language1_default: default menu selection for language1
  101. language1_default=eng
  102.  
  103. # language2_default: default menu selection for language2 (use if language_type=dual)
  104. language2_default=fre
  105.  
  106. # language_type: should we show two translation menus, or just one; always 'single' or 'dual'
  107. language_type=dual
  108.  
  109. # referrer: referrer to use when sending http requests to the translation server
  110. referrer=http://www.tranexp.com:2000/InterTran?
  111.  
  112. # translate_host: the domain name of the host to retrieve translations from
  113. translate_host=www.tranexp.com
  114.  
  115. # translate_port: the port of the host to retrieve translations from
  116. translate_port=2000
  117.  
  118. # cookie_script: the name of the script or file to retrive translations from
  119. translate_script=/InterTran